package br.com.sgdc.view.action;

import java.awt.event.MouseEvent;
import java.awt.event.MouseListener;

import br.com.sgdc.view.WindowEsqueceuSenha;
import br.com.sgdc.view.WindowLogin;

public class ActionEsqueceuSenhaLabelWindowLogin implements MouseListener {
	private WindowLogin windowLogin;
	private WindowEsqueceuSenha windowEsqueceuSenha;

	public ActionEsqueceuSenhaLabelWindowLogin(WindowLogin windowLogin) {
		this.windowLogin = windowLogin;
	}

	@Override
	public void mouseClicked(MouseEvent event) {
		if (event.getSource() == windowLogin.esqueceuSenhaLabel) {
			windowEsqueceuSenha = new WindowEsqueceuSenha();
			windowEsqueceuSenha.initComponentesJanela();
		}
	}

	@Override
	public void mouseEntered(MouseEvent event) {

	}

	@Override
	public void mouseExited(MouseEvent event) {
	}

	@Override
	public void mousePressed(MouseEvent event) {
		
	}

	@Override
	public void mouseReleased(MouseEvent event) {
	}
}
